#ifndef BOOKINFO_H
#define BOOKINFO_H

#include <QObject>
#include <QDate>

class BookInfo : public QObject
{
public:
    BookInfo();
    void loadFormXMLFile(const QString &fileName);

    void setBookName(const QString &bookName);
    QString getBookName();

    void setBookAuthor(const QString &author);
    QString getBookAuthor();

    void setBookDate(QDate &date);
    QDate getBookDate();
private:
    QString _bookName;
    QString _bookAuthor;
    QDate   _bookCreateTime;
};

#endif // BOOKINFO_H
